74f18d8c16ff4e8aa9505a354abf28c83fc21ad8,core/src/main/java/org/elasticsearch/cluster/routing/allocation/AllocationModule.java,AllocationModule,configure,#,115

Before Change


        bind(ShardsAllocator.class).to(shardsAllocator).asEagerSingleton();

        // bind AllocationDeciders
        Multibinder<AllocationDecider> allocationMultibinder = Multibinder.newSetBinder(binder(), AllocationDecider.class);
        for (Class<? extends AllocationDecider> allocation : allocationDeciders) {
            allocationMultibinder.addBinding().to(allocation).asEagerSingleton();
        }

        bind(GatewayAllocator.class).asEagerSingleton();

After Change


            logger.warn("{} allocator has been removed in 2.0 using {} instead", AllocationModule.EVEN_SHARD_COUNT_ALLOCATOR, AllocationModule.BALANCED_ALLOCATOR);
        }
        // bind AllocationDeciders
        allocationDeciders.bind(binder());

        bind(GatewayAllocator.class).asEagerSingleton();
        bind(AllocationService.class).asEagerSingleton();